<div class="sebelumjud">
                <div class="jodol"><?php if(!empty($user)) echo $user['NAMA']?> —Todo</div>
</div>

<div class="clear"></div>
        <div id="jumat">
            <?php 
                if(!empty($user)){
                    echo '
                <div id="last">
                        <a href="'.base_url().'progress/progress_con/todo_personal_occasional/'.$user['ID'].'">Occasional</a>
                        <a href="'.base_url().'progress/progress_con/todo_personal_routine/'.$user['ID'].'">Routine</a>
                </div>
                <div id="pic"><img src="'.$user['FOTO'].'" /></div>
                <div id="samping2">
                        ';
                }
                for($i=0;$i<count($user['TODO']);$i++){
                    echo '
                        <div  class="todoh7">
                                ';
                                if(!empty($user['TODO'][$i]['ISI_TODO']))
                                    echo '<a href="'.base_url().'progress/progress_con/todo_done/1/'.$user['TODO'][$i]['ID_TODO'].'">'.$user['TODO'][$i]['ISI_TODO'];
                                else 
                                    echo '<a href="'.base_url().'progress/progress_con/todo_done/2/'.$user['TODO'][$i]['ID_TODO'].'">'.$user['TODO'][$i]['DESKRIPSI_TODO'];
                                echo '</a> ';
                                if($user['TODO'][$i]['STATUS_URGENT'])
                                    echo '<span class="penting">!</span>';
                                    echo '
                                <span class="deadline"> —deadline '.$user['TODO'][$i]['DEADLINE'].'</span>
                        </div>
                        ';
                }
                echo '
                    <div class="clear"></div>
                    </div>
                    ';
            ?>

        </div><!---end div jumat --->
        <div class="clear"></div>